#pragma once

#include "LGUIWindow.h"

class LGUIMultiMeter : public LGUIWindow  
{
	int selected;
	int numChoices;
	int *values;
	int max;
	enum
	{
		BARSIZE=6
	};
	const TCHAR *text;
public:
	LGUIMultiMeter(const TCHAR *_text, int id, int _x, int _y, int _h, int _numChoices,  int _max);
	virtual ~LGUIMultiMeter();

	void draw(int xoff, int yoff);

	int GetValue(int n)
	{ 
		return values[n];
	}
	void SetValue(int n, int _v)
	{
		if (n<0 || n >= numChoices)
			__asm int 3;

		values[n] = _v;
		isDirty=true;
	}
};

